package com.iotproject.educenter.mapper;

import com.iotproject.educenter.entity.Member;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 会员表 Mapper 接口
 * </p>
 *
 * @author testjava
 * @since 2022-11-12
 */
public interface UcenterMemberMapper extends BaseMapper<Member> {
    //查询某一天注册人数
    Integer countRegisterDay(String day);
    void updateNickname(@Param("userId") String userId, @Param("newName") String newName);
    void updateAvatar(@Param("userId") String userId, @Param("avatar") String avatar);
    void updatePassword(@Param("userId") String userId, @Param("password") String password);
    void updateMobile(@Param("userId") String userId, @Param("mobile") String mobile);
    //查询某一天登陆人数
    Integer countLoginDay(String day);
}
